export default {
  categorys: (state) => state.category.categorys,
  currentIndex: (state) => state.category.currentIndex,
  theme: (state) => state.themes.theme,
  token: (state) => state.sys.token,
  userInfo: (state) => state.sys.userInfo,
}
// "$store.getters.categorys"这样的方式在模板引用，store.getters.categorys在js中访问
